package com.motong.gongdan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author:fff
 * @time:2022/4/3
 */
@Data
@TableName("database_list")
public class DatabaseList {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String url;
    private String user;
    private String password;
    private String type;
    @TableField(value = "factory_code")
    private String factoryCode;
    @TableField(value = "redis_database")
    private Integer redisDatabase;
    @TableField(value = "redis_url")
    private String redisUrl;
    @TableField(value = "redis_pwd")
    private String redisPwd;
    @TableField(value = "redis_port")
    private Integer redisPort;
    @TableField(value = "mongo_url")
    private String mongoUrl;
    @TableField(value = "mongo_database")
    private String mongoDatabase;

}
